/**
 * 
 */
package t4j.typeinfo;

import t4j.net.mindview.util.Null;

/**
 * @author sz
 *
 * create time：2012-12-27
 */
public class Person {

	public final String first;
	
	public final String last;
	
	public final String address;
	

	public Person(String first, String last,String address) {
		this.first=first;
		this.last = last;
		this.address = address;
		
	}

	public String toString() {
	
		return "Person: " + first + " " + last + " " + address;
	}
	
	public static class NullPrerson extends Person implements Null{
	
		private NullPrerson() {
			super("None","None","None");
		}
		
		public String toString() {
			return "NullPerson";
		}
	}
	
	public static final Person NULL = new NullPrerson();
}
